import { Global, Module } from '@nestjs/common';
import { WechatService } from './wechat.service';
import { HttpModule } from '@nestjs/axios';
import { ScheduleModule } from '@nestjs/schedule';

@Global()
@Module({
  imports : [HttpModule, ScheduleModule.forRoot()],
  providers: [WechatService],
  exports : [WechatService]
})
export class WechatModule {}
